//
//  CXTopView.h
//  TestFace2
//
//  Created by 曹想 on 2019/3/1.
//  Copyright © 2019 ShangHaiXinLaWangLuoKeji. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "CXLoginLodingView.h"
@protocol CXTopViewDelegate <NSObject>

-(void)topFaceClick;//

-(void)topGuestClcik;

@end


NS_ASSUME_NONNULL_BEGIN

@interface CXTopView : UIView

@property (nonatomic,assign) id<CXTopViewDelegate>delegate;
@property (nonatomic,strong) CXLoginLodingView * lodingView;//加载窗


+(instancetype)initCXTopView;

-(void)showLodingSelfView;//背景+lodingView

-(void)hiddenLodingSelfView;//只显示背景图

-(void)dismissSelfView;

@end

NS_ASSUME_NONNULL_END
